//
//  JMMenuView.h
//  分页控制器
//
//  Created by JackMeng on 16/3/17.
//  Copyright © 2016年 JackMeng. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JMMenuView : UIView


//菜单view宽度
@property (assign, nonatomic) CGFloat width;

//菜单标题
@property (copy, nonatomic) NSString * leftTitle;
@property (copy, nonatomic) NSString * middleTitle;
@property (copy, nonatomic) NSString * rightTitle;

//定义scrollView属性（点击菜单按钮时会滚动到相应位置）
@property (weak, nonatomic) UIScrollView *scollView;

//定义方法(progress = scrollView.contentOffset.x / scrollView.contentSize.width)
- (void)animateViewProgress:(CGFloat)progress;


@end
